/*
  小程序语言包
*/

var langs = {
    //中文语言包
    "cn": {
        //公共
        "NoInformation": "暂无信息",
        "InputKeyword": '请输入关键词',
        "KeywordRequired": '关键词不能为空',
        "ToEnd": "到底了",
        "AboutUs": "关于我们",
        "ContactUs": "联系我们",
        "OnlineService": "在线客服",
        "Dial": "拨号",
        "Address": "地址",
        'Loading': "加载中...",
        'LoginLoading': "登录中...",
        'Reset': "重置",
        'ReturnHome': "返回首页",
        'WeChatPayment': "微信支付",

        'Home': '首页',
        'My': '我的',
        'Photograph': '拍照',
        'ChoosePhoneAlbum': '从手机相册选择',
        'ChoosePicture': '选择图片',
        'Finish': '完成',
        'RecentSearchHistory': '最近搜索历史',

        //会员中心
        'Login': '登录',
        'LoginFail': '登录失败',
        'LoginFirst': '请先登录',
        'Reg': '注册',
        'RegNow': '立即注册',
        'FreeReg': '免费注册',
        'ForgetPassword': '忘记密码',
        'NextStep': '下一步',
        'PreviousStep': '上一步',
        'ResetPwd': '重置密码',
        'MemberQuit': '退出登录',
        'Submit': '提交',

        'OK': '确定',
        'Close': '关闭',
        'Cancel': '取消',
        'Download': '下载',
        'Search': '检索',
        'Save': '保存',
        'PullRefresh': '下拉刷新',
        'ChannelList': '频道列表',
        'WhatSearch': '搜你想搜的',
        'FontSize': '字号',
        'AddFavourite': '收藏',
        'Share': '分享',
        'Size': '大小',

        'MobileNumber': '手机号码',
        'Mobile': '手机',
        'NickName': '昵称',
        'UserName': '用户名',
        'MemberGender': '性别',
        'Male': '男',
        'Female': '女',
        'MemberTelephone': '固定电话',
        'Telephone': '电话',
        'MemberEmail': '电子邮件',
        'Email': '邮件',
        'MemberMobile': '手机',
        'MemberQQ': 'QQ',
        'MemberAddress': '联系地址',
        'MemberAvatar': '头像',
        'Password': '密码',
        'OldPassword': '旧密码',
        'NewPassword': '新密码',
        'ConfirmPassword': '确认密码',
        'PasswordQuestion': '密保问题',
        'PasswordAnswer': '密保答案',
        'EnterPassword': '输入密码',
        'EnterConfirmPassword': '输入确认密码',
        'EnterMobileNumber': '请输入手机号码',

        //反馈
        'UserFeedback': '用户反馈',
        'FeedbackContent': '反馈内容',
        'FeedbackContentTip': '使用的任何问题，欢迎随时反馈！',
        'FeedbackImage': '上传图片',
        'FeedbackContact': '联系方式',

        //会员菜单
        'MyFavorite': '我的收藏',
        'MyCash': '我的资金',
        'MyHistory': '浏览记录',
        'MyFeedback': '用户反馈',
        'MessagePush': '通知消息',
        'ModifyMemberInfo': '修改个人资料',
        'ModifyPassword': '修改密码',
        'LanguageSelect': '语言选择',
        'About': '关于',
        'ShareToWechatFriend': '分享给微信好友',
        'ShareToMoments': '分享到微信朋友圈',
        'ShareSuccess': '分享成功',
        'ShareFail': '分享失败',

        //提示信息
        'AfterLoginFavouriteTip': '亲，登录后才能收藏哦！',
        'FavoriteSuccess': '收藏成功',
        'FavoriteFail': '收藏失败',
        'CancelFavorite': '取消收藏',
        'SubmittingTip': '提交中，请稍后...',
        'IKnow': '我知道了',
        'LoginCheckingTip': '登录验证中，请稍后...',
        'RegingTip': '注册中，请稍后...',
        'ModifyingTip': '修改中，请稍后...',
        'CheckingTip': '验证中，请稍后...',
        'ResetingPasswordTip': '密码重置中，请稍后...',

        //商城
        'ClassName': '分类',
        'SaleTop': '销售排行榜',
        'SaleQuantity': '销量',
        'RelationProduct': '相关商品',
        'BrowsingHistory': '浏览历史',
        'ClearHistory': '清空',
        'SalesRanking': '热卖排行',
        'Brand': '品牌',
        'YourChoose': '你已选择',
        'ClearFilter': '清空筛选',
        'AllGoodsClassification': '全部商品分类',
        'GoodsClassification': '商品分类',
        'MyShoppingCart': '我的购物车',
        'FillAndCheckOrder': '填写订单',
        'SuccessSubmitOrder': '完成订单',
        'ShoppingCart': '购物车',
        'AddCart': '加入购物车',
        'ViewCart': '查看购物车',
        'BuyNow': '立刻购买',
        'SellOut': '没货了',
        'AddCartSuccess': '放入购物车成功',
        'AddCartFail': '放入购物车失败',
        'AddCartRepeat': '购物车已有该商品，不能重复添加',
        'CartEmptyText': '购物车目前没有加入任何商品！',
        'DeleteConfirm': '确定删除吗？',
        'OrderSubmitSuccessText': '恭喜，您的订单已提交成功，请记住您的订单号',
        'YourOrderTotalPrice': '您订单总金额为',
        'PayNow': '立即支付',
        'OrderOnlinePayFinish': '您的订单已经支付完成！',
        'PaySuccess': '支付成功',
        'PayFail': '支付失败',
        'WeiXinPayScanTip': '微信扫描二维码支付',
        'FriendTip': '友情提示',
        'Tip': '提示',
        'OfflinePayTip': '提交成功，请按支付说明付款',

        'CartProductInfo': '商品信息',
        'CartProductPicture': '图片',
        'CartProductName': '名称',
        'CartProductPrice': '价格',
        'CartProductQuantity': '数量',
        'CartTotalItemPrice': '小计',
        'CartOperation': '操作',
        'CartDelete': '删除',
        'CartSubmitOrder': '确认提交订单',
        'CartContinue': '继续购物',
        'CartClear': '清空购物车',
        'CartCheckout': '去结算',
        'OrderNumber': '订单编号',
        'GoodsDetail': '商品详情',
        'GoodsSpecification': '规格参数',
        'GoodsComment': '商品评价',
        'GoodsCountPrefix': '共',
        'GoodsCountSuffix': '个商品',
        'GoodsFilter': '筛选',
        'AllSort': '综合',
        'SaleSort': '销量',
        'PriceSort': '价格',
        'NewSort': '新品',
        'PointSort': '积分',

        'ShippingWay': '配送方式',
        'ShippingPrice': '配送费用',
        'PayWay': '支付方式',
        'SelectPayWay': '选择以下支付方式付款',
        'PayRate': '支付手续费比例',
        'PayPrice': '支付手续费',
        'OrderTotalPrice': '订单总额',
        'TotalPrice': '商品总价格',
        'DiscountPrice': '人工调价',
        'AvailableBalance': '可用余额',
        'NotEnoughBalance': '余额不足',

        //收货人信息
        'ConsigneeInfo': '收货人信息',
        'ConsigneeRealName': '收货人',
        'DeliveryTime': '送货时间',
        'ConsigneeRemark': '订单附言',
        'ConsigneeRealNameRequired': '收货人不能为空',
        'ConsigneeMobileRequired': '收货人手机不能为空',
        'ConsigneeAddressRequired': '收货人地址不能为空',
        'ChooseAddressFromWechat': '从微信选择地址',

        'ChooseGoods': '去挑选',
        'SureClearCart': '确定清空购物车?',
        'ExcludeFreight': '不含运费',

        //其它
        'SureChangePassword': '确定修改密码吗?',
        'SureChange': '确定修改吗?',
        'SureSubmit': '确定提交吗?',
        'Ok': '确认',
        'All': '全部',
        'Total': '总计',
        'SubmitOrder': '提交订单',
        'ActualPayment': '实付款',
        'DelOrder': '删除订单',
        'CancelOrder': '取消订单',
        'ConfirmReceipt': '确认收货',

        'PendingPay': '待付款',
        'PendingConsignment': '待发货',
        'PendingReceipt': '待收货',
        'Finished': '已完成',
        'TechnicalSupport': '技术支持',
        'YouDianSoftware': "南昌乐酷科技",

        'ContentRequired': '内容不能为空',
        'WebsiteSearch': '站内搜索',
        'GoTop': '回顶部',
        'SearchResult': '搜索结果',
        'OldPasswordIncorrect': '旧密码不正确!',
        'OldPasswordRequired': '旧密码不能为空!',
        'NewPasswordRequired': '新密码不能为空!',
        'NewOldPasswordCanNotSame': '新密码和旧密码不能相同!',
        'ConfirmPasswordRequired': '确认密码不能为空!',
        'PasswordUnmatch': '二次输入的密码不一致!',

        "MyAddress": "我的收货地址",
        "SelectConsigneeAddress": "请选择收货地址",
        "AddConsigneeAddress": "添加收货地址",
        "NoConsigneeAddress": "暂无收货地址",
        "FullAddress": "详细地址",
        "AddressAlias": "地址别名",
        "AddressAliasTip": "如：家里、公司、父母家",
        'MobileRequired': '手机号码不能为空',
        'Postcode': '邮政编码',
        "ZipCode": "邮编",
        "SetDefault": "设为默认",
        "Edit": "编辑",
        "ShippingInformation": "配送信息",
        "Freight": "运费",
        "YourName": "姓名",
        "CustomerService": "客服",

        //优惠券
        'Coupon': '优惠券',
        'AvailableCoupon': '可用优惠券',
        'SelectCoupon': '请选择优惠券',
        'InputCouponCode': '请输入线下优惠券码',
        'NoAvailableCoupon': '没有可用优惠券',
        'UseCouponCode': '使用线下优惠券码',
        'UseCoupon': '使用优惠券',
        'CouponExpired': '优惠券已过期',
        'CouponNotExist': '优惠券不存在',
        'CanNotUseCoupon': '最低消费[n]才能使用当前优惠券',
        'CouponUsed': '优惠券已经用过了',

        //积分
        'Point': '积分',
        'UsePoint': '使用积分',
        'PointDeduction': '积分抵扣',
        'PointExchange': '积分兑换',
        'ExchangeNow': '立即兑换',
        'YourTotalPoint': '您的总积分',
        'MyPoint': '我的积分',
        'OnePointEq': '1积分=',
        'InvalidPoint': '积分无效',
        'GtTotalPoint': '输入的积分不能大于总积分',
        'PointExchangeRateInvalid': '积分换算比例设置无效',
        'UsePointFail': '使用积分失败',
        'MaxUsePoint': '当前订单最多可以使用的积分',
        'MaxUsePointTip': '最多只能使用[n]积分',
        'FreeShippingTip': '全场满[n]免运费',
        'Piece': '件',
        'InputText': '请输入文本',
        'GoodsTotalPrice': '商品总额',
        'MyOrder': '我的订单',
        'MoreOrder': '查看更多订单',
        'NoOrder': '您还没有相关订单',
        'LookAround': '随便逛逛',
        'SureCancelOrder': '确定取消订单?',
        'SureConfirmReceipt': '确认收货吗？',
        'SureDeleteOrder': '确定删除订单吗？',
        'OrderManagement': '订单管理',
        'BackOrderManagement': '返回订单管理',
        'OrderDetail': '订单详情',
        'CreateTime': '创建时间',
        'OrderStatus': '订单状态',
        'PaymentInformation': '付款信息',
        'OrderPayment': '订单支付',
        'PaymentTotalPrice': '支付总金额',
        'NoRelevantGoods': '抱谦！暂无相关商品',
        'Checkout': '结算',

        //产品
        'ProductPrice': '商品价格',
        'Price': '价格',
        'MyPrice': '本店价',
        'MarketPrice': '市场价',
        'ExchangePrice': '换购价',
        'BuyPrice': '购买价格',
        'ProductNumber': '商品编号',
        'SerialNumber': '编号',
        'ProductNew': '最新商品',
        'ProductTime': '发布时间',
        'ProductDescription': '描述',
        'ProductHit': '点击次数',
        'Remark': '备注',

        //分销
        'MyDownline': '我的推广',
        'MyIncome': '我的收益',
        'TotalIncome': '收益总金额',
        'Downline1': '一级下线',
        'Downline2': '二级下线',
        'Downline3': '三级下线',
        'MemberName': '会员名称',
        'Time': '时间',
        'Recharge': '我要充值',
        'SetWithdrawalPassword': '设置提现密码',
        'Withdrawal': '提现',
        'TotalCash': '充值总金额',
        'AvailableCash': '可用资金',

        'Type': '类型',
        'Status': '状态',
        'PaidStatus': '已支付',
        'UnPaidStatus': '未支付',
        'MoneyPaidStatus': '已付款',
        'MoneyUnPaidStatus': '未付款',
        'RechargeMoney': '充值金额',
        'WithdrawalMoney': '提现金额',
        'MinimumWithdrawalMoney': '最低提现额度',
        'AccountBalance': '账户余额',
        'BankName': '收款银行',
        'AddBank': '添加一个新银行',
        'BankAccount': '收款账号',
        'OwnerName': '开户人姓名',
        'WithdrawalPassword': '提现密码',
        'WithdrawalOk': '确认提现',

        'MyCoupon': '我的优惠券',
        'CouponUsed': '已使用',
        'CouponExpired': '已过期',
        'CouponSendTime': '发放时间',
        'CouponMoney': '面额',
        'ConsumeMoney': '最低消费金额',
        'StartTime': '开始时间',
        'EndTime': '结束时间',
    },

    //英文语言包
    "en": {
        //公共
        "NoInformation": "No Information",
        "InputKeyword": 'Please input keywords',
        "KeywordRequired": 'Keywords Required',
        "ToEnd": "To the End",
        "AboutUs": "About Us",
        "ContactUs": "Contact Us",
        "OnlineService": "Online Service",
        "Dial": "Dial",
        "Address": "Address",
        'Loading': "Loading...",
        'LoginLoading': "Logining...",
        'Reset': "Reset",
        'ReturnHome': "Return Home",
        'WeChatPayment': "WeChat Payment",

        'Home': 'Home',
        'My': 'My',
        'Photograph': 'Camera',
        'ChoosePhoneAlbum': 'Choose from the phone album',
        'ChoosePicture': 'Choose Picture',
        'Finish': 'Finish',
        'RecentSearchHistory': 'Recent Search History',

        //会员中心
        'Login': 'Login',
        'LoginFail': 'Login Fail',
        'LoginFirst': 'Please login first',
        'Reg': 'Register',
        'RegNow': 'Register Now',
        'FreeReg': 'Free Register',
        'ForgetPassword': 'Forget Password',
        'NextStep': 'Next',
        'PreviousStep': 'Previous',
        'ResetPwd': 'Reset Password',
        'MemberQuit': 'Quit',
        'Submit': 'Submit',
        'OK': 'OK',
        'Close': 'Close',
        'Cancel': 'Cancel',

        'Download': 'Download',
        'Save': 'Save',
        'Search': 'Search',
        'PullRefresh': 'Pull to Refresh',
        'ChannelList': 'Channel List',
        'WhatSearch': 'Search What You Want',
        'FontSize': 'Font',
        'AddFavourite': 'Add to My Favorites',
        'Share': 'Share',
        'Size': 'Size',

        'MobileNumber': 'Mobile number',
        'Mobile': 'Mobile',
        'NickName': 'Nick Name',
        'UserName': 'User Name',
        'MemberGender': 'Gender',
        'Male': 'Male',
        'Female': 'Female',
        'MemberTelephone': 'Tel',
        'Telephone': 'Tel',
        'MemberEmail': 'E-mail',
        'Email': 'E-mail',
        'MemberMobile': 'Mobile',
        'MemberQQ': 'QQ',
        'MemberAddress': 'Address',
        'MemberAvatar': 'Avatar',
        'Password': 'Password',
        'OldPassword': 'Old Password',
        'NewPassword': 'New Password',
        'ConfirmPassword': 'Confirm Password',
        'PasswordQuestion': 'Password Question',
        'PasswordAnswer': 'Password Answer',
        'EnterPassword': 'Enter a Password',
        'EnterConfirmPassword': 'Enter a Confirm Password',
        'EnterMobileNumber': 'Enter a Mobile Number',

        //反馈
        'UserFeedback': 'Feedback',
        'FeedbackContent': 'Content',
        'FeedbackContentTip': 'Any Questions, Please Give a Feedback Anytime!',
        'FeedbackImage': 'Upload Image',
        'FeedbackContact': 'Contact',

        //会员菜单
        'MyFavorite': 'Favorites',
        'MyCash': 'Cash',
        'MyHistory': 'History',
        'MyFeedback': 'Feedback',
        'MessagePush': 'Messages',
        'ModifyMemberInfo': 'Modify My Information',
        'ModifyPassword': 'Modify Password',
        'LanguageSelect': 'Languages',
        'About': 'About',
        'ShareToWechatFriend': 'Share to Wechat Frient',
        'ShareToMoments': 'Share to My Moments',
        'ShareSuccess': 'Share Successfully',
        'ShareFail': 'Share Failure',

        //提示信息
        'AfterLoginFavouriteTip': 'Adding to favourite after you have logined!',
        'FavoriteSuccess': 'Add to favorite successfully',
        'FavoriteFail': ' Add to favorite failed',
        'CancelFavorite': 'remove favorite',
        'SubmittingTip': 'Submitting, please wait...',
        'IKnow': 'I Know',
        'LoginCheckingTip': 'Login Checking, please wait...',
        'RegingTip': 'Regestering, please wait...',
        'ModifyingTip': 'Modifying, please wait...',
        'CheckingTip': 'Checking, please wait...',
        'ResetingPasswordTip': 'Password reseting, please wait...',

        //商城
        'ClassName': 'Class',
        'SaleTop': 'Sale Top List',
        'SaleQuantity': 'Sales',
        'BrowsingHistory': 'Browsing History',
        'RelationProduct': 'Related Goods',
        'ClearHistory': 'Clear',
        'SalesRanking': 'Sales Ranking',
        'Brand': 'Brand',
        'YourChoose': 'You have chosen',
        'ClearFilter': 'Clear',
        'AllGoodsClassification': 'All Goods Classification',
        'GoodsClassification': 'Goods Classification',
        'MyShoppingCart': 'My Cart',
        'FillAndCheckOrder': 'Fill in order',
        'SuccessSubmitOrder': 'Finish order',
        'ShoppingCart': 'Cart',
        'AddCart': 'Add to Cart',
        'ViewCart': 'View Cart',
        'BuyNow': 'Buy Now',
        'SellOut': 'Sell Out',
        'AddCartSuccess': 'Add to cart success',
        'AddCartFail': 'Add to cart failure',
        'AddCartRepeat': 'The product already exists, you can not add',
        'CartEmptyText': 'Your cart is empty!',
        'DeleteConfirm': 'Are you sure to delete?',
        'OrderSubmitSuccessText': 'Congratulations, your order has been submitted, please remember your order number',
        'YourOrderTotalPrice': 'The total amount of your order is ',
        'PayNow': 'Pay Now',
        'OrderOnlinePayFinish': 'your orders have been paid successfully!',
        'PaySuccess': 'pay successfully',
        'PayFail': 'fail to pay',
        'WeiXinPayScanTip': 'wechat scan qrcode to pay',
        'FriendTip': 'Friendship tips',
        'Tip': 'Tips',
        'OfflinePayTip': 'submit successfully, please read the description to pay',

        'CartProductInfo': 'Product Infomation',
        'CartProductPicture': 'Picture',
        'CartProductName': 'Name',
        'CartProductPrice': 'Price',
        'CartProductQuantity': 'Quantity',
        'CartTotalItemPrice': 'Subtotal',
        'CartOperation': 'Operation',
        'CartDelete': 'Delete',
        'CartSubmitOrder': 'Submit',
        'CartContinue': 'Continue',
        'CartClear': 'Clear',
        'CartCheckout': 'Checkout',
        'OrderNumber': 'Order Number',
        'GoodsDetail': 'Goods Detail',
        'GoodsSpecification': 'Specification',
        'GoodsComment': 'Goods Comment',
        'GoodsCountPrefix': 'A total of ',
        'GoodsCountSuffix': ' goods',
        'GoodsFilter': 'Filter',
        'AllSort': 'All',
        'SaleSort': 'Sales',
        'PriceSort': 'Price',
        'NewSort': 'Newly',
        'PointSort': 'Point',

        'ShippingWay': 'Shipping way',
        'ShippingPrice': 'Shipping price',
        'PayWay': 'Pay way',
        'SelectPayWay': 'Select the following payment',
        'PayRate': 'Pay rate',
        'PayPrice': 'Pay price',
        'OrderTotalPrice': 'Order total price',
        'TotalPrice': 'Total price',
        'DiscountPrice': 'Discount price',
        'AvailableBalance': 'Balance',
        'NotEnoughBalance': 'your balance is not enough',

        //收货人信息
        'ConsigneeInfo': 'Consignee information ',
        'ConsigneeRealName': 'Consignee',
        'DeliveryTime': 'Delivery time',
        'ConsigneeRemark': 'Remark',
        'ConsigneeRealNameRequired': 'Consignee required',
        'ConsigneeMobileRequired': 'Consignee mobile required',
        'ConsigneeAddressRequired': 'Consignee address required',
        'ChooseAddressFromWechat': 'Choose Address From WeChat',

        'ChooseGoods': 'Choose Goods',
        'SureClearCart': 'Are You Sure to Clear Cart?',
        'ExcludeFreight': 'Excluding Freight',

        //其它
        'SureChangePassword': 'Are you sure to Change Password?',
        'SureChange': 'Are you sure to Change?',
        'SureSubmit': 'Are you sure to Submit?',
        'Ok': 'OK',
        'All': 'All',
        'Total': 'Total',
        'SubmitOrder': 'Submit',
        'ActualPayment': 'Actual Payment',
        'DelOrder': 'Delete',
        'CancelOrder': 'Cancel',
        'ConfirmReceipt': 'Confirm Receipt',

        'PendingPay': 'Pending Pay',
        'PendingConsignment': 'Pending Consignment',
        'PendingReceipt': 'Pending Receipt',
        'Finished': 'Finished',
        'TechnicalSupport': 'Technical Support',
        'YouDianSoftware': "YBM Software",

        'ContentRequired': 'Content Required',
        'WebsiteSearch': 'Website Search',
        'GoTop': 'Go Top',
        'SearchResult': 'Search Results',
        'OldPasswordIncorrect': 'Incorrect old password!',
        'OldPasswordRequired': 'Old password required!',
        'NewPasswordRequired': 'New password required!',
        'NewOldPasswordCanNotSame': 'New password cannot be the same with old password!',
        'ConfirmPasswordRequired': 'Confirm password required!',
        'PasswordUnmatch': 'Two passwords do not match!',

        "MyAddress": "My Address",
        "SelectConsigneeAddress": "Please Select Address",
        "AddConsigneeAddress": "Add",
        "NoConsigneeAddress": "No Address",
        "FullAddress": "Address",
        "AddressAlias": "Address Alias",
        "AddressAliasTip": "eg：Home、Company",
        'MobileRequired': 'Mobile Required',
        'Postcode': 'Postcode',
        "ZipCode": "ZipCode",
        "SetDefault": "Set as Default",
        "Edit": "Edit",
        "ShippingInformation": "Shipping Information",
        "Freight": "Freight",
        "YourName": "Your Name",
        "CustomerService": "Service",

        //优惠券
        'Coupon': 'Coupon',
        'AvailableCoupon': 'Available coupons',
        'SelectCoupon': 'Please select a coupon',
        'InputCouponCode': 'Please input the coupon code',
        'NoAvailableCoupon': 'No coupons available',
        'UseCouponCode': 'Use coupon codes',
        'UseCoupon': 'Use Coupons',
        'CouponExpired': 'The coupon has expired',
        'CouponNotExist': 'The coupon does not exist',
        'CanNotUseCoupon': 'The total cost must be at least [n] to use this coupon',
        'CouponUsed': 'The coupon has been used',

        //积分
        'Point': 'Point',
        'UsePoint': 'Use Point',
        'PointDeduction': 'Point deduction',
        'PointExchange': 'Exchange',
        'ExchangeNow': 'Exchange Now',
        'YourTotalPoint': 'Your Total Points',
        'MyPoint': 'My Point',
        'OnePointEq': '1 Point=',
        'InvalidPoint': 'Invalid Point',
        'GtTotalPoint': 'The point of your input cannot be greater than the total point',
        'PointExchangeRateInvalid': 'Point exchange rate is invalid',
        'UsePointFail': 'Fail to use point',
        'MaxUsePoint': 'The max point to use is',
        'MaxUsePointTip': '[n] points can be used at most',
        'FreeShippingTip': 'The shipping is free, if you spend [n]',
        'Piece': '',
        'InputText': 'Please Input Text',
        'GoodsTotalPrice': 'Total Price',
        'MyOrder': 'My Orders',
        'MoreOrder': 'More Orders',
        'NoOrder': 'You have no related orders!',
        'LookAround': "Let's Go Shopping",
        'SureCancelOrder': 'Are you sure to cancel this order?',
        'SureConfirmReceipt': 'Are you sure to confirm receipt？',
        'SureDeleteOrder': 'Are you sure to delete this order？',
        'OrderManagement': 'Order Management',
        'BackOrderManagement': 'Back',
        'OrderDetail': 'Order Details',
        'CreateTime': 'Time',
        'OrderStatus': 'Order Status',
        'PaymentInformation': 'Payment Information',
        'OrderPayment': 'Order Payment',
        'PaymentTotalPrice': 'Total Price',
        'NoRelevantGoods': 'Sorry！No relevant goods',
        'Checkout': 'Checkout',

        //产品
        'ProductPrice': 'Price',
        'Price': 'Price',
        'MyPrice': 'Price',
        'MarketPrice': 'Market Price',
        'ExchangePrice': 'Exchange Price',
        'BuyPrice': 'Price',
        'ProductNumber': 'Number',
        'SerialNumber': 'Number',
        'ProductNew': 'Newest Products',
        'ProductTime': 'Time',
        'ProductDescription': 'Description',
        'ProductHit': 'Hits',
        'Remark': 'Remark',

        //分销
        'MyDownline': 'My Downline',
        'MyIncome': 'My Income',
        'TotalIncome': 'Total Income',
        'Downline1': 'Downline 1',
        'Downline2': 'Downline 2',
        'Downline3': 'Downline 3',
        'MemberName': 'Name',
        'Time': 'Time',
        'Recharge': 'Recharge',
        'SetWithdrawalPassword': 'Password',
        'Withdrawal': 'Withdrawal',
        'TotalCash': 'Total Cash',
        'AvailableCash': 'Available Cash',

        'Type': 'Type',
        'Status': 'Status',
        'PaidStatus': 'Paid',
        'UnPaidStatus': 'UnPaid',
        'MoneyPaidStatus': 'Paid',
        'MoneyUnPaidStatus': 'UnPaid',
        'RechargeMoney': 'Recharge Money',
        'WithdrawalMoney': 'Withdrawal Money',
        'MinimumWithdrawalMoney': 'Minimum Money',
        'AccountBalance': 'Balance',
        'BankName': 'BankName',
        'AddBank': 'Add Bank',
        'BankAccount': 'Bank Account',
        'OwnerName': 'Owner Name',
        'WithdrawalPassword': 'Password',
        'WithdrawalOk': 'OK',

        'MyCoupon': 'My Coupon',
        'CouponUsed': 'Used',
        'CouponExpired': 'Expired',
        'CouponSendTime': 'Time',
        'CouponMoney': 'Money',
        'ConsumeMoney': 'Consume Money',
        'StartTime': 'Start Time',
        'EndTime': 'End Time',
    }
}


module.exports = {
    /**
     * 获取语言包
     */
    get: function(name) {
        //如果后台支持选择语言，将从storage中读取
        var mark = wx.getStorageSync('LanguageMark');
        if (!mark) {
            mark = "cn";
        }
        var value = "";
        if (name) {
            if (langs[mark] && langs[mark][name]) {
                value = langs[mark][name];
            }
        } else {
            if (langs[mark]) {
                value = langs[mark];
            }
        }
        return value;
    }
}